package network;

public class PeerDisconnectedException extends Exception {
	
	private static final String PEER_DISCONNECTED = "Peer Disconnected";
	private String m_message;

	public void setMessage(String message) {
		this.m_message = message;
	}

	public PeerDisconnectedException() {
		super();
		setMessage(PEER_DISCONNECTED);
	}

	public PeerDisconnectedException(String message) {
		super(message);
		setMessage(message);
	}
}
